package com.pm.mapper.awardPunishment;

import com.pm.entity.AwardPunishmentElse;
import com.pm.entity.po.awardPunishment.AwardPunishment;
import com.pm.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AwardPunishmentElseMapper extends BaseMapper<AwardPunishmentElse> {
    List<AwardPunishmentElse> getAllAwardElse(@Param("awardPunishment") AwardPunishmentElse awardPunishmentElse);

    Integer addAwardElse(@Param("awardPunishment") AwardPunishmentElse awardPunishment);

    AwardPunishmentElse getAwardElseId(Integer id);

    boolean deleteAwardElse(Integer id);

    Boolean updateAwardElse(@Param("awardPunishment") AwardPunishmentElse awardPunishment);
}